package jubaozhu.extra.base;

import jubaozhu.domain.User;
import zhibi.frame.context.Constant;
import zhibi.frame.springmvc.base.AbstractController;

public abstract class BaseController extends AbstractController {

    /**
     * 登录的用户
     *
     * @return
     */
    protected User sessionUser() {
        return (User) session.getAttribute(Constant.SESSION.USER);
    }

}
